package com.exam.mapper;

import com.exam.po.FillQuestion;
import com.exam.po.FillQuestionExample;
import java.util.List;

import com.exam.po.PaperManage;
import org.apache.ibatis.annotations.Param;

public interface FillQuestionMapper {
    int countByExample(FillQuestionExample example);

    int deleteByExample(FillQuestionExample example);

    int deleteByPrimaryKey(Integer questionid);

    int insert(FillQuestion record);

    int insertSelective(FillQuestion record);

    List<FillQuestion> selectByExample(FillQuestionExample example);

    FillQuestion selectByPrimaryKey(Integer questionid);

    int updateByExampleSelective(@Param("record") FillQuestion record, @Param("example") FillQuestionExample example);

    int updateByExample(@Param("record") FillQuestion record, @Param("example") FillQuestionExample example);

    int updateByPrimaryKeySelective(FillQuestion record);

    int updateByPrimaryKey(FillQuestion record);


    /*
     * @Author mahaoqi
     * @Description 查找 id数组   自动组卷
     * @Date 2021/1/13 10:50
     * @Param [subject, page, pageSize]
     * @return java.lang.Integer[]
     **/
    Integer[] findFillids(@Param("subject")String subject,
                          @Param("page")Integer page,
                          @Param("pageSize") Integer pageSize);

}